package net.lzzy.practices.service;

import net.lzzy.practices.constants.Messages;
import net.lzzy.practices.entities.Chapter;

import java.util.List;
import java.util.UUID;

public interface ChapterService {
    List<Chapter> getTeachersChapters(UUID courseId,String token);

    List<Chapter> getStudentsChapters(UUID studentId,UUID courseId,String token);

    Chapter getById(UUID id);

    Chapter add(Chapter chapter);

    Chapter update(Chapter chapter,String token );

    Chapter openCloseChapter(boolean open, UUID id,String token);

    Messages remove(UUID id, UUID courseId, String token);
}
